package md.frolov.bible.editors;

import org.eclipse.jface.action.ControlContribution;
import org.eclipse.jface.action.ICoolBarManager;
import org.eclipse.jface.action.ToolBarManager;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
import org.eclipse.ui.part.EditorActionBarContributor;

public class ActionsContributor extends EditorActionBarContributor {
	private IWorkbenchAction exitAction;

	
	public ActionsContributor() {
		
	}

	
	
	@Override
	public void init(IActionBars bars, IWorkbenchPage page) {
		exitAction = ActionFactory.QUIT.create(page.getWorkbenchWindow());
	}

	@Override
	public void contributeToCoolBar(ICoolBarManager coolBar) {

	}


}
